<div id="table-view"></div>
<script>

    var table = {
        id : '#table-view',
        thead:[
            {title:"icons",field:'icon',tip:'AAAAA'},
            {title:"titles",field:'title',tip:'AAAAA'},
            {title:"paths",field:'url'}
            ],
        fn: 'p()'
    };
    component.table(table);

    function p() {
        setCurrent();
        drawing();
    }
    function btn() {
        var btn = '<button class="mdui-btn mdui-btn-raised mdui-color-grey-700">Button</button> &nbsp;&nbsp;'+
            '<button class="mdui-btn mdui-btn-raised mdui-color-grey-700">Button</button>';
        return btn;
    }
</script>